package com.xinyi.traditionmvvm.sources.remote;
import com.xinyi.traditionmvvm.consts.NetURL;
import com.xinyi.traditionmvvm.model.NeteaseCommentModel;
import com.xinyi.traditionmvvm.model.ResponseData;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * @author 杨耿雷
 * @date 2024/9/26 10:08
 * @description 网易云接口
 */
public interface NeteaseApi {

    /**
     * 随机获取一条网抑云音乐热评
     * @param format 接口数据格式 text/json
     */
    @GET(NetURL.NETEASE_COMMENTS_URL)
    Observable<ResponseData<NeteaseCommentModel>> getNeteaseComment(@Query("format") String format);
}
